import request from '../utils/request.ts'
export default {
    getAddCommentNum(){
        return request.get('/client/user/comment/addCommentNum')
    },
    getCommentPage(id:number,params:any){
        return request.get('/client/user/comment/' + id,params)
    },
    saveComment(data:any){
        return request.post('/client/user/comment',data)
    },
    likeComment(data:any){
        return request.post('/client/user/comment/likeComment',data)
    },
    collectComment(collect:any,isCollect:boolean){
        return request.post('/client/comment/collectComment',{})
    }
}
